package com.usaas.search.dto;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.util.Date;


@NoArgsConstructor
@AllArgsConstructor
@SuperBuilder
@Data
public class BaseDto extends CommonPage {

    /**
     * id
     */
    public Long id;
    /**
     * 创建者
     */
    public String createBy;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    public Date createTime;

    /**
     * 更新者
     */
    public String updateBy;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    public Date updateTime;

    /**
     * 备注
     */
    public String remark;

    public Long delFlag;

    public String from;
}
